package com.cenntro.nearr.common;

public class PageResult extends Result{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 7443874678816001984L;
	
	private Integer count;
	
	
	public Integer getCount() {
		return count;
	}
	public void setCount(Integer count) {
		this.count = count;
	}
	
	
	public PageResult(Integer count){
		this.count = count;
	}
	public static PageResult ok(Object data, Integer count) {
		PageResult pg = new PageResult(count);
		pg.setData(data);
		return pg;
	}
}
